//加密封装
String.prototype.ja = function () {
return encodeURIComponent(window.btoa(encodeURIComponent(this.toString())).replace(/=/g, ".")).split('').reverse().join('');
}
//解密封装
String.prototype.je = function () {
try {
return decodeURIComponent(window.atob(decodeURIComponent(this.toString().split('').reverse().join('')).replace(/./g, "=")));
} catch (e) {
return '';
}
}
